package com.wms.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.wms.exception.V;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "任务详情中的商品列表明细")
public class TaskDetailDTO {
        @ApiModelProperty(value = "明细ID")
        @JsonIgnore
        private Integer id;

        @ApiModelProperty(value = "任务ID")
        @JsonIgnore
        private Integer taskId;

        @ApiModelProperty(value = "物料id")
        @JsonIgnore
        private Integer mid;
        
        @ApiModelProperty(value = "物品编码")
        private String code;
        
        @ApiModelProperty(value = "物品类别")
        private String category;
        
        @ApiModelProperty(value = "物品规格")
        private String spec;
        
        @ApiModelProperty(value = "系统库存数量")
        private Integer systemQty;
        
        @ApiModelProperty(value = "实际盘点数量")
        private Integer actualQty;
        
        @ApiModelProperty(value = "差异数量（实际 - 系统）")
        private Integer diffQty;
        
        @ApiModelProperty(value = "有无报损;0 无 1有")
        private int breakage;
        
        @ApiModelProperty(value = "计量单位")
        private String unit;
        
        @ApiModelProperty(value = "批次号")
        private String batchNo;
        
        @ApiModelProperty(value = "有效期")
        private String validTime;

        @ApiModelProperty(value = "所在货位id")
        @JsonIgnore
        private Integer locId;

        @ApiModelProperty(value = "存放温区")
        @JsonIgnore
        private String warmarea;
}
